/*
 *  Copyright 2011 Alexey Andreev.
 * 
 *  Licensed under the Apache License, Version 2.0 (the "License");
 *  you may not use this file except in compliance with the License.
 *  You may obtain a copy of the License at
 * 
 *       http://www.apache.org/licenses/LICENSE-2.0
 * 
 *  Unless required by applicable law or agreed to in writing, software
 *  distributed under the License is distributed on an "AS IS" BASIS,
 *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *  See the License for the specific language governing permissions and
 *  limitations under the License.
 *  under the License.
 */
package org.xthl.wiki.api;

import java.util.Date;

/**
 * 
 * @author Alexey Andreev
 */
public class Revision {
    private int id;
    private String title;
    private int articleId;
    private String articleTitle;
    private int number;
    private Integer previousRevisionId;
    private Integer previousRevisionNumber;
    private Integer mergedRevisionId;
    private int authorId;
    private String authorName;
    private Date date;
    private String note;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public int getArticleId() {
        return articleId;
    }

    public void setArticleId(int articleId) {
        this.articleId = articleId;
    }

    public String getArticleTitle() {
        return articleTitle;
    }

    public void setArticleTitle(String articleTitle) {
        this.articleTitle = articleTitle;
    }

    public int getNumber() {
        return number;
    }

    public void setNumber(int number) {
        this.number = number;
    }

    public Integer getPreviousRevisionId() {
        return previousRevisionId;
    }

    public void setPreviousRevisionId(Integer previousRevisionId) {
        this.previousRevisionId = previousRevisionId;
    }

    public Integer getPreviousRevisionNumber() {
        return previousRevisionNumber;
    }

    public void setPreviousRevisionNumber(Integer previousVersionNumber) {
        this.previousRevisionNumber = previousVersionNumber;
    }

    public Integer getMergedRevisionId() {
        return mergedRevisionId;
    }

    public void setMergedRevisionId(Integer mergedVersionId) {
        this.mergedRevisionId = mergedVersionId;
    }

    public int getAuthorId() {
        return authorId;
    }

    public void setAuthorId(int authorId) {
        this.authorId = authorId;
    }

    public String getAuthorName() {
        return authorName;
    }

    public void setAuthorName(String authorName) {
        this.authorName = authorName;
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    public String getNote() {
        return note;
    }

    public void setNote(String note) {
        this.note = note;
    }
}
